package com.cgwx.tmservice.entity.tm;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 遥测解析表记录表
 * </p>
 *
 * @author GaoWei
 * @since 2023-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TmInfoHisList对象", description="遥测解析表记录表")
public class TmInfoHisList implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "遥测解析表ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @TableField("tableName")
    private String tableName;

//    逻辑删除的注解
    @TableLogic
    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
